package net.lab1024.sa.admin.module.sast.task.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;
import net.lab1024.sa.base.common.enumeration.BaseEnum;

@AllArgsConstructor
@Getter
public enum TaskStatusEnum implements BaseEnum {
    PENDING(0, "待处理"),
    IN_PROGRESS(1, "运行中"),
    SUCCEEDED(2, "成功"),
    FAILED(3, "失败"),
    CANCELED(4, "取消")
    ;
    private final Integer value;

    private final String desc;
}
